<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>csrf-01 login</title>
</head>
<body>
<form method="post" th:action="@{/login}">
    用户名：<input name="username" type="text"/>
    <br/>
    密码：<input name="password" type="password"/>
    <br/>
    <input type="submit" value="提交"/>
</form>
</body>
</html>